<div class="uinformations form">
<?php echo $this->Form->create('Uinformation', array('enctype' => 'multipart/form-data'));?>
	<fieldset>
 		<legend><?php __('Edit Personal information'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('joiningdate',array('label'=>'Date of Joining','minYear'=>1970));
		echo $this->Form->input('gradationnumber',array('label'=>'Gradation number'));
		echo $this->Form->input('natureemployment',array('label'=>'Nature of employment'));
		echo $this->Form->input('fathername',array('label'=>'Father\'s Name'));
		echo $this->Form->input('mothername',array('label'=>'Mother\'s Name'));
		 echo $this->Form->input('datebirth', array('label' => 'Date of Birth', 'minYear' => 1950));
        ?>
        <div class="input text"><label for="ChildGender">Nationality</label>
            <?php
            $options = array('Bangladeshi' => 'Bangladeshi', 'Others' => 'Others');
            echo $this->Form->select('nationality', $options, null, array('empty' => false));
            ?>
        </div>
        <?php
            // echo $this->Form->input('nationality');
        ?>
            <div class="input text"><label for="ChildGender">Religion</label>
            <?php
            $options = array('Islam' => 'Islam', 'Hindu' => 'Hindu', 'Christian' => 'Christian', 'Buddhist' => 'Buddhist', 'Others' => 'Others');
            echo $this->Form->select('religion', $options, null, array('empty' => false));
            ?>
        </div>
        <?php
            echo $this->Form->input('faction');
        ?>
            <div class="input text"><label for="ChildGender">Gender</label>
            <?php
            $options = array('Male' => 'Male', 'Female' => 'Female');
            echo $this->Form->select('gender', $options, null, array('empty' => false));
            ?>
        </div>

        <div class="input text"><label for="ChildMaritalstatus">Marital Status</label>
            <?php
            $options = array('Single' => 'Single', 'Married' => 'Married');
            echo $this->Form->select('maritalstatus', $options, null, array('empty' => false));
            ?>
        </div>

        <?php
            //echo $this->Form->input('religion');
        ?>
            <div class="input text"><label for="ChildGender">Freedom Fighter</label>
            <?php
            $options = array('Freedom fighter' => 'Freedom fighter', 'Freedom fighter family' => 'Freedom fighter family', 'N/A' => 'N/A');
            echo $this->Form->select('freedomfighter', $options, null, array('empty' => false));
            ?>
        </div>
        <?php
            //echo $this->Form->input('freedomfighter',array('label'=>'Freedom fighter'));
            //echo $this->Form->input('photo');
        ?>
            <div class="input text"><label for="ChildMaritalstatus">For Cadre Officers</label>

            </div>

            <div class="input text"><label for="ChildGender">Cadre name</label>
            <?php
            $options = array('BCS Agri' => 'BCS Agri', 'Others' => 'Others');
            echo $this->Form->select('cadrename', $options, null, array('empty' => false));
            ?>
        </div>
        <?php
            //echo $this->Form->input('cadrename', array('label' => 'Cadre name'));
        ?>
            <div class="input text"><label for="ChildGender">Batch Number</label>
            <?php
            $options = array(
                '1st' => '1st',
                '2nd' => '2nd',
                '3rd' => '3rd',
                '4th' => '4th',
                '5th' => '5th',
                '6th' => '6th',
                '7th' => '7th',
                '8th' => '8th',
                '9th' => '9th',
                '10th' => '10th',
                '11th' => '11th',
                '12th' => '12th',
                '13th' => '13th',
                '14th' => '14th',
                '15th' => '15th',
                '16th' => '16th',
                '17th' => '17th',
                '18th' => '18th',
                '19th' => '19th',
                '20th' => '20th',
                '21th' => '21th',
                '22th' => '22th',
                '23th' => '23th',
                '24th' => '24th',
                '25th' => '25th',
                '26th' => '26th',
                '27th' => '27th',
                '28th' => '28th',
                '29th' => '29th',
                '30th' => '30th',
                '31th' => '31th',
                '32th' => '32th',
                '33th' => '33th',
                '34th' => '34th',
                '35th' => '35th',
                '36th' => '36th',
                '37th' => '37th',
                '38th' => '38th',
                '39th' => '39th',
                '40th' => '40th',
                '41th' => '41th',
                '42th' => '42th',
                '43th' => '43th',
                '44th' => '44th',
                '45th' => '45th'
            );
            echo $this->Form->select('batch', $options, null, array('empty' => false));
            ?>
        </div>
        <?php
            //echo $this->Form->input('batch');
            echo $this->Form->input('dateofencadrement', array('label' => 'Date of encadrement', 'minYear' => 1970));
        ?>
            <div class="input text"><label for="ChildMaritalstatus">Permanent Address:</label>

            </div>
        <?php
            echo $this->Form->input('village');
            echo $this->Form->input('postoffice', array('label' => 'Post office'));
            echo $this->Form->input('upazilla');
            echo $this->Form->input('district');
            echo $this->Form->input('postcode', array('label' => 'Post code'));
            echo $this->Form->input('policestation', array('label' => 'Police station'));
            echo $this->Form->input('mobile');
            echo $this->Form->input('sname', array('label' => 'Spouse Name'));
            echo $this->Form->input('sdateofbirth', array('label' => 'Spouse Date of Birth', 'minYear' => 1950));
            echo $this->Form->input('soccupation', array('label' => 'Spouse occupation'));
            echo $this->Form->input('sdesignation', array('label' => 'Spouse designation'));
            echo $this->Form->input('sorganization', array('label' => 'Spouse organization'));
            echo $this->Form->input('spostingplace', array('label' => 'Spouse posting place'));
            echo $this->Form->input('addqualification', array('label' => 'Additional Qualification'));
           // echo $this->Form->input('publication');
           // echo $this->Form->input('honor');
           // echo $this->Form->input('otherservice', array('label' => 'other service'));
            echo $this->Form->input('professionalmember', array('label' => 'Professional member'));
           // echo $this->Form->input('serviceaward', array('label' => 'Service award'));
            //echo $this->Form->input('user_id');
            echo $this->Form->input('photo',array('type'=>'file'));
            echo $this->Form->hidden('prephoto',array('value'=>$this->data['Uinformation']['photo']));
        ?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
<div class="actions">
	<?php echo $this->element('leftmenu'); ?>
</div>